home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gTimeOutLength
- if the timer > gTimeOutLength then
- SorryNoServer()
- exit
- end if
- set msgType to checkIfThayur()
- if msgType = 0 then
- go(the frame - 1)
- set the visible of sprite 28 to not (the visible of sprite 28)
- else
- if msgType = 201 then
- go("connectGame")
- else
- if (msgType = -2) or (msgType = -1) then
- go("createGame")
- else
- go(the frame - 1)
- set the visible of sprite 28 to not (the visible of sprite 28)
- end if
- end if
- end if
- end
-